package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

        import java.math.BigDecimal;
        import java.time.LocalDateTime;

/**
* <p>
* 抖音结算单
* </p>
*
* @author huangrensen
* @since 2024-05-30
*/
@Schema
@Data
public class DyBillForm {
    @Schema(description="ID")
    private String id;

    @Schema(description="店铺ID")
    private Long storeId;

    @Schema(description="结算时间")
    private LocalDateTime settlementTime;

    @Schema(description="订单号")
    private String orderNo;

    @Schema(description="子订单号")
    private String subOrderNo;

    @Schema(description="结算金额")
    private BigDecimal settlementPrice;

    @Schema(description="结算账户")
    private String settlementAccount;

    @Schema(description="结算单类型")
    private String settlementType;

    @Schema(description="有结算前退款")
    private String settlementRefund;

    @Schema(description="下单时间")
    private LocalDateTime orderTime;

    @Schema(description="商品ID")
    private String productId;

    @Schema(description="商品数量")
    private Integer quantity;

    @Schema(description="业务类型")
    private String businessType;

    @Schema(description="订单类型")
    private String orderType;

    @Schema(description="订单总价")
    private BigDecimal orderAmount;

    @Schema(description="商品总价")
    private BigDecimal productAmount;

    @Schema(description="运费")
    private BigDecimal transportFee;

    @Schema(description="店铺劵")
    private BigDecimal preferential;

    @Schema(description="结算前退款金额")
    private BigDecimal settlementRefundAmount;

    @Schema(description="平台补贴")
    private BigDecimal preformSubsidy;

    @Schema(description="达人补贴")
    private BigDecimal drSubsidy;

    @Schema(description="抖音支付补贴")
    private BigDecimal dySubsidy;

    @Schema(description="抖音月付营销补贴")
    private BigDecimal dyMonthSubsidy;

    @Schema(description="银行补贴")
    private BigDecimal bankSubsidy;

    @Schema(description="以旧换新抵扣")
    private BigDecimal deduction;

    @Schema(description="平台补贴运费")
    private BigDecimal platformSubsidyFee;

    @Schema(description="用户实付")
    private BigDecimal buyAmount;

    @Schema(description="收入合计")
    private BigDecimal reiceveAmount;

    @Schema(description="平台服务费")
    private BigDecimal serviceAmount;

    @Schema(description="达人佣金")
    private BigDecimal commission;

    @Schema(description="服务商佣金")
    private BigDecimal carrierCommission;

    @Schema(description="渠道分成")
    private BigDecimal channelFee;

    @Schema(description="招商服务费")
    private BigDecimal investmentServiceFee;

    @Schema(description="站外推广费")
    private BigDecimal promotionFee;

    @Schema(description="其他分成")
    private BigDecimal otherFee;

    @Schema(description="其他分成说明")
    private String otherFeeRemark;

    @Schema(description="支出合计")
    private BigDecimal payAmount;

    @Schema(description="是否免佣")
    private String noCommission;

    @Schema(description="免佣金额")
    private BigDecimal noCommissionAmount;

    @Schema(description="备注")
    private String remark;



}
